package com.hk.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

/**
 * @author huangkun
 * @date 2024/12/9 19:42
 */
@Data
public class PageRequest {

    @ApiModelProperty(value = "当前页")
    @Min(1)
    private Integer current = 1;
    @ApiModelProperty(value = "每页数量")
    private Integer pageSize = 10;

}
